const http = require("http");
const fs = require("fs");
const path = require("path");

http.createServer((req, res) => {
    let filePath = path.join(__dirname , "spider.html");
    let fileContent = fs.readFileSync(filePath);
    res.end(fileContent);
}).listen(3000)